/*
22*******
222*******
2222*******
22222*******
*/

let n = 4
for (let i = 1; i <= n; i++) {
    let ss = '  ';
    for (let j = 0; j <= i; j++) {
        ss += ' '
    }
    console.log(`${ss}*********`)
}
console.log('-'.repeat(20))
for (let i = 1; i <= 4; i++) {
    console.log(' '.repeat(i + 2) + '*'.repeat(10))
}



